package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Leave;
import cn.wolfcode.car.business.domain.ServiceItem;
import cn.wolfcode.car.business.query.LeaveQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import javax.xml.crypto.Data;
import java.io.InputStream;
import java.util.Date;

/**
 * activiti信息接口
 */
public interface ILeaveService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<Leave> query(LeaveQuery qo);

    Leave get(Long id);

    void startAudit(Long id, Long bpmnInfoId, Long director,
                    Long finance,Leave leave);

    void audit(Long id, Long auditStatus, String info);

    InputStream processImg(Long id);

}
